package com.yjf.wxapi.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 编写微信小程序配置类
 */
@Component
@ConfigurationProperties(prefix = "wx")
@Data
public class WxConfig {
    private String appid;
    private String secret;
    private String grantType;
    private String url;
}
